.KnowledgeKidBox {
  display: flex;
}

.link {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #000;
  font-variant: tabular-nums;
  line-height: 1.5715;
  list-style: none;
  font-feature-settings: "tnum";
  color: rgba(0, 0, 0, .85);
  font-size: 14px;
  background: var(--bg-body);
}

.KnowledgeKid_left {
  padding-bottom: 30px;
  width: 70%;
  height: 100%;
  background-color: var(--bg);

  .KnowledgeKid_left_Top {
    
    .left_Top_h1 {
      color: inherit;
      font-weight: 700;
      font-size: 2.5rem;
      line-height: 1rem;
      line-height: 1.5;
      text-align: center;
    }

    .left_Top_p {
      margin-bottom: 1.2em;
      color: inherit;
      font-style: italic;
      text-align: center;
      font-size: 16px;
    }
  }

  .left_footers {
    color: #655e5e;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    margin-bottom: 22px;
  }
}

.KnowledgeKid_right {
  width: 30%;
  height: 100%;
  background-color: var(--bg-second);
  margin-left: 30px;

  .KnowledgeBox {
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    .KnowledgeBox_header {
      color: var(--main-text-color);
      background-color: var(--bg);

      line-height: 22px;
      padding: 0.8rem;
      font-size: 16px;
      font-weight: 600;
    }

    .KnowledgeBox_main {
      .KnowledgeBox_main_ul {
        .KnowledgeBox_main_ul_li {
          width: 80%;
          margin-left: 10%;
          line-height: 2.2rem;

          .KnowledgeBox_main_ul_li a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 32px;
            font-size: 14px;
            line-height: 20px;
            padding-left: 12px;
            padding-right: 16px;
          }

        }

      }
    }
  }
}

.KnowledgeBox_main_ul_li:hover {
  color: red;
  background: var(--bg-body);
}

.active {
  color: red;
}

// 最下面的
.detail_chapter_order {
  width: 100%;
  position: relative;
  padding: 8px;
  border-radius: var(--border-radius);
  background: var(--bg);
  // overflow: hidden;
  display: flex;

  .chapter_big_marger {
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    padding: 8px;
    width: 100%;

    a {
      width: 100%;

    }
  }

  .chapter_big_marger:hover {

    border-color: var(--primary-color);

    a {
      color: var(--primary-color);
    }
  }

  .chapter_left {
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    padding: 8px;
    width: 100%;
    display: flex;

    a {
      width: 100%;

    }
  }

  .chapter_left:hover {

    border-color: var(--primary-color);

    a {
      color: var(--primary-color);
    }
  }

  a {
    padding: 1rem 0.5rem;
    overflow: hidden;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    transition: color .3s;
    width: 100%;
    box-sizing: border-box;
    color: var(--main-text-color);
  }

  .sharp_end {
    display: flex;
    justify-content: end;
    align-items: center;
  }

  .middle_chapter {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, .07);
    padding: 20px 0;
    margin-top: 20px;

    .right_chapter {
      text-align: right;
    }

    .chapter_margin {
      width: 45%;
      display: flex;
      padding: 8px;
      justify-content: space-between;
      border: 1px solid var(--border-color);
      box-shadow: var(--box-shadow);

      a {
        border: none;
      }
    }

    .chapter_margin:hover {
      border-color: var(--primary-color);

      a {
        color: var(--primary-color);
      }
    }

  }

  .detail_point {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 30px);
    display: inline-block;
    color: inherit;
    font-style: normal;
    line-height: 0;
    text-align: center;
    text-transform: none;
    vertical-align: -0.125em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

}

// 目录
.catalogue{
  // background: #ccc;
  // position: relative;
  // max-height: 50vh;
  // padding: 0 10px;
  // overflow: auto;
  background: var(--bg-body);
  padding-top: 10px;
}
.commentsBox{
  width: 100%;
  height: 100%;
  background-color: var(--bg)!important;
 
}